package cn.com.flower.admin.account.dao.persist.repository.impl;

import cn.com.flower.admin.account.dao.persist.mapper.UserMapper;
import cn.com.flower.admin.account.dao.persist.repository.IUserRepository;
import cn.com.flower.admin.account.pojo.vo.UserStandardVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Slf4j
@Repository
public class UserRepositoryImpl implements IUserRepository {
    @Autowired
    private UserMapper userMapper;
    @Override
    public UserStandardVO getStandardById(Long id) {
        log.debug("开始执行【根据ID查询用户详情】的数据访问，参数：{}", id);
        return userMapper.getStandardById(id);
    }
}
